﻿
@model LERP.Web.Controllers.ViewModels.CustomerViewModels.CreateFirstCustomerViveModel
@{
    ViewBag.Title = "修改父级客户";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@using (Html.BeginForm("EditFirst","Customer"))
{
    @Html.Hidden("id",Request.QueryString["id"])
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>基本信息 </legend>
        <ul class="list_form">
        
            <li>
                @Html.LabelFor(model => model.Name)   
                @Html.TextBoxFor(model => model.Name, new { @class = "text-long" }) 
                @Html.ValidationMessageFor(model => model.Name)
            </li>
            <li>
                @Html.LabelFor(model => model.Linkman) 
                @Html.TextBoxFor(model => model.Linkman, new { @class = "text-long" }) 
                 @Html.ValidationMessageFor(model => model.Linkman)
            </li>
            <li>
                @Html.LabelFor(model => model.Mobile)   
                @Html.TextBoxFor(model => model.Mobile, new { @class = "text-long" }) 
                @Html.ValidationMessageFor(model => model.Mobile)
            </li>
            <li>
                @Html.LabelFor(model => model.Email)   
                @Html.TextBoxFor(model => model.Email, new { @class = "text-long" }) 
                @Html.ValidationMessageFor(model => model.Email)
            </li>
            <li>
                @Html.LabelFor(model => model.Fax)   
                @Html.TextBoxFor(model => model.Fax, new { @class = "text-long" }) 
                @Html.ValidationMessageFor(model => model.Fax)
            </li> 
            
            <li> @Html.LabelFor(model => model.Remark)   
                @Html.TextAreaFor(model => model.Remark, new {rows="1" ,cols="1"}) 
                @Html.ValidationMessageFor(model => model.Remark)

            </li>
        </ul>
    </fieldset>
    
    <input type="submit" class="button-submit" value="保存" />
    <br />
    <br />
    <br />
}


